package com.chris.dao;

import java.util.List;

public interface BaseDAO<T> {
		public int update(Object obj) throws Exception;
		public int insert(Object obj) throws Exception;
		public int delete(Object obj) throws Exception;
		public Object findById(int id) throws Exception;
		public int count(String tj) throws Exception;
		public List<T> findAll(String tj) throws Exception ;
}
